home *** CD-ROM | disk | FTP | other *** search
- [ Note: sources for /usr/ucb/Mail are on uunet.uu.net for those victims w.o.
- sources. -pbp ]
-
- Written 2:30 pm Jun 7, 1990 by paul@uxc.cso.uiuc.edu in uiuc.general
- Note title: Fix to Berkeley mail
-
- This may be of more than casual interest to those wanting to shoot the
- Berkeley mail program...
-
- Subject: /usr/ucb/mail botches some return addresses
- Index: ucb 4.3BSD-tahoe
-
- Description:
- Given a message with a mix of relative and fully-qualified addresses,
- /usr/ucb/mail will apply parts of the fully-qualified domain name to
- the relative recipients.
- Repeat-By:
- Given a message like the following:
-
- From bscheid Wed Jun 6 16:13:06 1990
- Date: Wed, 6 Jun 90 16:12:58 -0500
- From: Beth Scheid <bscheid@ux1.cso.uiuc.edu>
- To: krol
- Subject: TCP Product
- Cc: andys, bscheid, german
-
- (text deleted)
-
- Using the 'r' (reply) command creates the following:
-
- To: ux1.uiuc:krol@edu bscheid@ux1.cso.uiuc.edu
- Subject: TCP Product
- Cc: ux1.uiuc:andys@edu ux1.uiuc:bscheid@edu ux1.uiuc:german@edu
- Fix:
- The cause is that "." is being used as one of the address separators.
- My guess that this is a holdover from the BerkNet days. The fix is
- to eliminate "." from the list of separators in config.c. Apply the
- following patch and re-compile. Alternatively, patch the master
- ida/cf/Sendmail.mc file with the second patch below.
-
- *** /tmp/,RCSt1014232 Thu Jun 7 10:41:16 1990
- --- config.c Thu Jun 7 10:38:50 1990
- ***************
- *** 29,35 ****
- /*
- * Set of network separator characters.
- */
- ! char *metanet = "!^:%@.";
-
- /*
- * Host table of "known" hosts. See the comment in configdefs.h;
- --- 29,35 ----
- /*
- * Set of network separator characters.
- */
- ! char *metanet = "!^:%@";
-
- /*
- * Host table of "known" hosts. See the comment in configdefs.h;
-
- =====Alternate ida/cf/Sendmail.mc patch=====
- *** /tmp/,RCSt1007353 Thu Jul 12 13:12:05 1990
- --- Sendmail.mc Thu Jul 12 13:11:34 1990
- ***************
- *** 698,704 ****
- #########################################################################
- S10
-
- ! R<>,@$=w$=Y$+ <>,$3 Remove default host.
- R<$+>$*$=Y$~A$* $:<$1>$2$3?$4$5 Mark user portion.
- R<$+>$*!$+,$*?$+ <$1>$2!$3!$4?$5 ! is inferior to @
- R<$+>$+,$*?$+ <$1>$2:$3?$4 Change src rte to % path
- --- 698,705 ----
- #########################################################################
- S10
-
- ! # The next line commented out for now; usr/ucb/Mail is broken.
- ! #R<>,@$=w$=Y$+ <>,$3 Remove default host.
- R<$+>$*$=Y$~A$* $:<$1>$2$3?$4$5 Mark user portion.
- R<$+>$*!$+,$*?$+ <$1>$2!$3!$4?$5 ! is inferior to @
- R<$+>$+,$*?$+ <$1>$2:$3?$4 Change src rte to % path
-